package com.link.base.wechat.payment.model;

import com.thoughtworks.xstream.annotations.XStreamAlias;

/**
 * 微信支付model
 *
 * @author LiQun
 * @date 2019/2/25 18:34
 */
@XStreamAlias("xml")
public class WxPayment {
    /**
     * 公众账号ID
     */
    @XStreamAlias("appid")
    private String appId;
    /**
     * 商户号
     */
    @XStreamAlias("mch_id")
    private String mchId;
    /**
     *  设备号
     */
    @XStreamAlias("device_info")
    private String deviceInfo;
    /**
     * 随机字符串
     */
    @XStreamAlias("nonce_str")
    private String nonceStr;
    /**
     * 签名
     */
    @XStreamAlias("sign")
    private String sign;
    /**
     * 签名类型
     */
    @XStreamAlias("sign_type")
    private String signType;
    /**
     * 商品描述
     */
    @XStreamAlias("body")
    private String body;
    /**
     * 商品详情
     */
    @XStreamAlias("detail")
    private String detail;
    /**
     * 附加数据
     */
    @XStreamAlias("attach")
    private String attach;
    /**
     * 商户订单号
     */
    @XStreamAlias("out_trade_no")
    private String outTradeNo;
    /**
     * 标价币种
     */
    @XStreamAlias("fee_type")
    private String feeType;
    /**
     * 标价金额
     */
    @XStreamAlias("total_fee")
    private int totalFee;
    /**
     * 终端IP
     */
    @XStreamAlias("spbill_create_ip")
    private String spbillCreateIp;
    /**
     * 交易起始时间
     */
    @XStreamAlias("time_start")
    private String timeStart;
    /**
     * 交易结束时间
     */
    @XStreamAlias("time_expire")
    private String timeExpire;
    /**
     * 订单优惠标记
     */
    @XStreamAlias("goods_tag")
    private String goodsTag;
    /**
     * 通知地址
     */
    @XStreamAlias("notify_url")
    private String notifyUrl;
    /**
     * 交易类型
     */
    @XStreamAlias("trade_type")
    private String tradeType;
    /**
     * 商品ID
     */
    @XStreamAlias("product_id")
    private String productId;
    /**
     * 指定支付方式
     */
    @XStreamAlias("limit_pay")
    private String limitPay;
    /**
     *用户标识
     */
    @XStreamAlias("openid")
    private String openid;
    /**
     *场景信息
     */
    @XStreamAlias("scene_info")
    private String sceneInfo;

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getMchId() {
        return mchId;
    }

    public void setMchId(String mchId) {
        this.mchId = mchId;
    }

    public String getDeviceInfo() {
        return deviceInfo;
    }

    public void setDeviceInfo(String deviceInfo) {
        this.deviceInfo = deviceInfo;
    }

    public String getNonceStr() {
        return nonceStr;
    }

    public void setNonceStr(String nonceStr) {
        this.nonceStr = nonceStr;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public String getSignType() {
        return signType;
    }

    public void setSignType(String signType) {
        this.signType = signType;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public String getAttach() {
        return attach;
    }

    public void setAttach(String attach) {
        this.attach = attach;
    }

    public String getOutTradeNo() {
        return outTradeNo;
    }

    public void setOutTradeNo(String outTradeNo) {
        this.outTradeNo = outTradeNo;
    }

    public String getFeeType() {
        return feeType;
    }

    public void setFeeType(String feeType) {
        this.feeType = feeType;
    }

    public int getTotalFee() {
        return totalFee;
    }

    public void setTotalFee(int totalFee) {
        this.totalFee = totalFee;
    }

    public String getSpbillCreateIp() {
        return spbillCreateIp;
    }

    public void setSpbillCreateIp(String spbillCreateIp) {
        this.spbillCreateIp = spbillCreateIp;
    }

    public String getTimeStart() {
        return timeStart;
    }

    public void setTimeStart(String timeStart) {
        this.timeStart = timeStart;
    }

    public String getTimeExpire() {
        return timeExpire;
    }

    public void setTimeExpire(String timeExpire) {
        this.timeExpire = timeExpire;
    }

    public String getGoodsTag() {
        return goodsTag;
    }

    public void setGoodsTag(String goodsTag) {
        this.goodsTag = goodsTag;
    }

    public String getNotifyUrl() {
        return notifyUrl;
    }

    public void setNotifyUrl(String notifyUrl) {
        this.notifyUrl = notifyUrl;
    }

    public String getTradeType() {
        return tradeType;
    }

    public void setTradeType(String tradeType) {
        this.tradeType = tradeType;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getLimitPay() {
        return limitPay;
    }

    public void setLimitPay(String limitPay) {
        this.limitPay = limitPay;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getSceneInfo() {
        return sceneInfo;
    }

    public void setSceneInfo(String sceneInfo) {
        this.sceneInfo = sceneInfo;
    }
}
